home *** CD-ROM | disk | FTP | other *** search
- This is genclass. A C++ template generator using C++ prototypes.
-
- genclass program: ==> ported by Chris Anderson
-
- [original by Doug Lea (dl@rocky.oswego.edu)
- Copyright (C) 1994 Free Software Foundation]
-
- Generate classes from prototypes
-
- genclass -[duv] -l [proto ...]
- genclass -[duv] -c [proto ...]
- genclass -[duv] -[1o:p:] type {ref|val} proto
- genclass -[duv] -[2o:p:] type1 {ref|val} type2 {ref, val}
-
- -------------------------------------------------------------------------
- First a quick explanation:
-
- This program creates c++ code using prototype templates. The documentation
- is included with the DJGPP info files (look in libg.inf).
-
-
- A few comments: This program will need the env variable PROTODIR set to
- the directory that contains the prototype templates. I hope by including
- a section with the djgpp.env file that this will happen automagically.
-
- [genclass]
- PROTODIR=<directory>
-
- Otherwise you can hard code (ughh!!) the directory in the appropriate place.
-
-
- A few examples:
-
- genclass -l ==> will show a list of all the classes available
- genclass -c ==> is essentially the same thing in a different format
-
- genclass -1 int ref DLList -o output
-
- Will create output.cc and output.h file for the class Double Linked List.
- It will create a class that passes by reference an integer value.
-
- genclass -2 int ref char val Map -o output
-
- Will create output.cc and output.h for the class Map.
-
-
- All the classes are well documented in the INFO files.
-
-
- Suppling the additional -d argument will print out additional
- debugging info.
-
-
- Good Luck
-
- _______________________________________________________________
-
- Christopher L. Anderson LEXIS-NEXIS
- Senior Product Analyst P.O. Box 933
- chrisa@lexis-nexis.com Dayton, OH 45401
- http://www.lexis-nexis.com/~chrisa (513) 865-1844
- _______________________________________________________________
-
-
-
-